Overview | Package | Class | Tree | Deprecated | Index | Help Java Platform
1.1.7
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class com.sun.java.swing.BorderFactory

java.lang.Object
  |
  +--com.sun.java.swing.BorderFactory

public class BorderFactory
extends java.lang.Object
Factory class for vending standard Border objects. Whereever possible, this factory will hand out references to shared Border instances.


Method Summary
static Border createBevelBorder(int type)
           
static Border createBevelBorder(int type, java.awt.Color highlight, java.awt.Color shadow)
           
static Border createBevelBorder(int type, java.awt.Color highlightOuter, java.awt.Color highlightInner, java.awt.Color shadowOuter, java.awt.Color shadowInner)
           
static CompoundBorder createCompoundBorder()
           
static CompoundBorder createCompoundBorder(Border outsideBorder, Border insideBorder)
           
static Border createEmptyBorder()
           
static Border createEmptyBorder(int top, int left, int bottom, int right)
           
static Border createEtchedBorder()
           
static Border createEtchedBorder(java.awt.Color highlight, java.awt.Color shadow)
           
static Border createLineBorder(java.awt.Color color)
           
static Border createLineBorder(java.awt.Color color, int thickness)
           
static Border createLoweredBevelBorder()
           
static MatteBorder createMatteBorder(int top, int left, int bottom, int right, java.awt.Color color)
           
static MatteBorder createMatteBorder(int top, int left, int bottom, int right, Icon tileIcon)
           
static Border createRaisedBevelBorder()
           
static TitledBorder createTitledBorder(java.lang.String title)
           
static TitledBorder createTitledBorder(Border border)
           
static TitledBorder createTitledBorder(Border border, java.lang.String title)
           
static TitledBorder createTitledBorder(Border border, java.lang.String title, int titleJustification, int titlePosition)
           
static TitledBorder createTitledBorder(Border border, java.lang.String title, int titleJustification, int titlePosition, java.awt.Font titleFont)
           
static TitledBorder createTitledBorder(Border border, java.lang.String title, int titleJustification, int titlePosition, java.awt.Font titleFont, java.awt.Color titleColor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Method Detail

createLineBorder

public static Border createLineBorder(java.awt.Color color)

createLineBorder

public static Border createLineBorder(java.awt.Color color,
                                      int thickness)

createRaisedBevelBorder

public static Border createRaisedBevelBorder()

createLoweredBevelBorder

public static Border createLoweredBevelBorder()

createBevelBorder

public static Border createBevelBorder(int type)

createBevelBorder

public static Border createBevelBorder(int type,
                                       java.awt.Color highlight,
                                       java.awt.Color shadow)

createBevelBorder

public static Border createBevelBorder(int type,
                                       java.awt.Color highlightOuter,
                                       java.awt.Color highlightInner,
                                       java.awt.Color shadowOuter,
                                       java.awt.Color shadowInner)

createEtchedBorder

public static Border createEtchedBorder()

createEtchedBorder

public static Border createEtchedBorder(java.awt.Color highlight,
                                        java.awt.Color shadow)

createTitledBorder

public static TitledBorder createTitledBorder(java.lang.String title)

createTitledBorder

public static TitledBorder createTitledBorder(Border border)

createTitledBorder

public static TitledBorder createTitledBorder(Border border,
                                              java.lang.String title)

createTitledBorder

public static TitledBorder createTitledBorder(Border border,
                                              java.lang.String title,
                                              int titleJustification,
                                              int titlePosition)

createTitledBorder

public static TitledBorder createTitledBorder(Border border,
                                              java.lang.String title,
                                              int titleJustification,
                                              int titlePosition,
                                              java.awt.Font titleFont)

createTitledBorder

public static TitledBorder createTitledBorder(Border border,
                                              java.lang.String title,
                                              int titleJustification,
                                              int titlePosition,
                                              java.awt.Font titleFont,
                                              java.awt.Color titleColor)

createEmptyBorder

public static Border createEmptyBorder()

createEmptyBorder

public static Border createEmptyBorder(int top,
                                       int left,
                                       int bottom,
                                       int right)

createCompoundBorder

public static CompoundBorder createCompoundBorder()

createCompoundBorder

public static CompoundBorder createCompoundBorder(Border outsideBorder,
                                                  Border insideBorder)

createMatteBorder

public static MatteBorder createMatteBorder(int top,
                                            int left,
                                            int bottom,
                                            int right,
                                            java.awt.Color color)

createMatteBorder

public static MatteBorder createMatteBorder(int top,
                                            int left,
                                            int bottom,
                                            int right,
                                            Icon tileIcon)

Overview | Package | Class | Tree | Deprecated | Index | Help Java Platform
1.1.7
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Submit a bug or feature
Submit comments/suggestions about javadoc
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.